package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * rebate_bill-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class RebateBill extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
	 private Long userId;
	/**
	 * 月账单返利金额（天）
	 */
	@ApiModelProperty(value = "月账单返利金额（天）")
	 private Float amount;
	/**
	 * 年
	 */
	@ApiModelProperty(value = "年")
	 private Integer year;
	/**
	 * 月
	 */
	@ApiModelProperty(value = "月")
	 private Integer month;
	/**
	 * 账单期限
	 */
	@ApiModelProperty(value = "账单期限")
	 private String remark;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	 private Timestamp createTime;
	/**
	 * 剩余返利金额
	 */
	@ApiModelProperty(value = "剩余返利金额")
	 private Float remainAmount;
	/**
	 * 当前账单是否返完 0：没有 1：结束
	 */
	@ApiModelProperty(value = "当前账单是否返完 0：没有 1：结束")
	 private Integer status;
    
    public RebateBill(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Float getAmount() {
        return this.amount;
    }
    
    public void setAmount(Float amount) {
        this.amount = amount;
    }
    public Integer getYear() {
        return this.year;
    }
    
    public void setYear(Integer year) {
        this.year = year;
    }
    public Integer getMonth() {
        return this.month;
    }
    
    public void setMonth(Integer month) {
        this.month = month;
    }
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Float getRemainAmount() {
        return this.remainAmount;
    }
    
    public void setRemainAmount(Float remainAmount) {
        this.remainAmount = remainAmount;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

}